package com.smfx.yxt.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.smfx.yxt.daoSqlserver.ClassTeachersMapper;
import com.smfx.yxt.model.ClassTeachers;
import com.smfx.yxt.reqVo.BaseQueryVO;
import com.smfx.yxt.reqVo.ExamQueryVO;
import com.smfx.yxt.service.IClassTeachersService;
import com.smfx.yxt.view.ClassForExamRegView;

@Service("classTeachersService")
public class ClassTeachersServiceImpl implements IClassTeachersService {

	@Autowired
	private ClassTeachersMapper classTeachersMapper;
	
	@Override
	public int insertSelective(ClassTeachers record) {
		return classTeachersMapper.insertSelective(record);
	}

	@Override
	public ClassTeachers selectByPrimaryKey(Integer id) {
		return classTeachersMapper.selectByPrimaryKey(id);
	}
	
	@Override
	public ClassTeachers selectByClassTeacherId(BaseQueryVO vo) {
		return classTeachersMapper.selectByClassTeacherId(vo);
	}

	@Override
	public ClassTeachers selectByClassTeachers(BaseQueryVO vo) {
		return classTeachersMapper.selectByClassTeachers(vo);
	}

	@Override
	public int updateByPrimaryKeySelective(ClassTeachers record) {
		return classTeachersMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public List<ClassTeachers> selectClassList(BaseQueryVO vo) {
		return classTeachersMapper.selectClassList(vo);
	}

	@Override
	public List<ClassForExamRegView> selectClassForExamReg(ExamQueryVO vo) {
		return classTeachersMapper.selectClassForExamReg(vo);
	}

}
